package com.tjl.vending_machine.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

import com.tjl.vending_machine.service.ImgService;
import com.tjl.vending_machine.util.ResultVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;


/**
 * @auther CodeGenerator
 * @create 2021-02-20 15:46:35
 * @describe 前端控制器
 */
@RestController
@RequestMapping("/img" )

public class ImgController {
    @Autowired
    private ImgService imgService;

    @GetMapping("/{id}")
    public ResultVO getImgById(@PathVariable("id") String id){
        return null;
    }
}
